package com.niiwoo.civet.mobile.vo.request.user;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * Created by huangmin on 2017/11/29.
 */
@Data
@ApiModel
public class SaveNiiWooScoreRequestVO {

    @JsonProperty(value = "NiWoScoreList")
    @ApiModelProperty(value = "推送你我分", required = true)
    private List<NiWoScore> niWoScoreList;

    @Setter
    @Getter
    public static class NiWoScore {

        @JsonProperty(value = "UserId")
        @ApiModelProperty(value = "用户ID", required = true)
        private String userId;

        @JsonProperty(value = "NiWoScore")
        @ApiModelProperty(value = "你我分", required = true)
        private Integer niWoScore;

        @JsonProperty(value = "NiiWooScoreDetails")
        @ApiModelProperty(value = "你我分明细", required = true)
        private NiiWooScoreDetails niiWooScoreDetails;

        @JsonProperty(value = "RadarDetails")
        @ApiModelProperty(value = "雷达图明细", required = true)
        private RadarDetails radarDetails;

    }

    @Setter
    @Getter
    public static class RadarDetails {

        @JsonProperty(value = "IdFeature")
        @ApiModelProperty(value = "身份特征", required = true)
        private String idFeature;

        @JsonProperty(value = "CreditHistory")
        @ApiModelProperty(value = "信用历史", required = true)
        private String creditHistory;

        @JsonProperty(value = "Behavior")
        @ApiModelProperty(value = "行为偏好", required = true)
        private String behavior;

        @JsonProperty(value = "EngagementAbility")
        @ApiModelProperty(value = "履约能力", required = true)
        private String engagementAbility;

        @JsonProperty(value = "GuanXi")
        @ApiModelProperty(value = "人脉关系", required = true)
        private String guanXi;

    }

    @Setter
    @Getter
    public static class NiiWooScoreDetails {

        @JsonProperty(value = "NegtiveInfo")
        @ApiModelProperty(value = "负面信息得分")
        private String negtiveInfo;

        @JsonProperty(value = "IdFeature")
        @ApiModelProperty(value = "身份特征得分")
        private String idFeature;

        @JsonProperty(value = "Asset")
        @ApiModelProperty(value = "资产得分")
        private String asset;

        @JsonProperty(value = "Behavior")
        @ApiModelProperty(value = "行为得分")
        private String behavior;

        @JsonProperty(value = "Sociality")
        @ApiModelProperty(value = "社交得分")
        private String sociality;

        @JsonProperty(value = "CreditReport")
        @ApiModelProperty(value = "征信报告得分")
        private String creditReport;

        @JsonProperty(value = "ThirdPart")
        @ApiModelProperty(value = "第三方得分")
        private String thirdPart;

        @JsonProperty(value = "Repayment")
        @ApiModelProperty(value = "借款还款得分")
        private String repayment;

        @JsonProperty(value = "LoanOverdue")
        @ApiModelProperty(value = "借款逾期得分")
        private String loanOverdue;

        @JsonProperty(value = "GuranteeAdvance")
        @ApiModelProperty(value = "担保垫付得分")
        private String guranteeAdvance;

        @JsonProperty(value = "GuranteeAdvanceOverdue")
        @ApiModelProperty(value = "垫付逾期得分")
        private String guranteeAdvanceOverdue;

    }


}
